home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO2003 OTL GAL.xpl < prev    next >
Text File  |  2004-01-16  |  2KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office 2003\Outlook"
  5. "NAME"="Global Address List"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Force use of Online Address Book"
  8. "DESCRIPTION 1"="When using Outlook with a Microsoft Exchange Server in cached mode, Outlook behaves as it would be in offline mode. This means, if will only ask the server from time to time if new items are available and downloads them. Mostly this configuration is used in organizations where one small server should support a lot of users and thus calls to the server by the clients should be minimized."
  9. "DESCRIPTION 2"="In most cases this works well, but the use of a cached version of the Global Address List can cause problems. For example, if you have several "Jacks" in your organization, it can happen that the offline (cached) version of the Global Address List only contains one of these "Jacks" and thus the email will be sent to the wrong recipient. "
  10. "DESCRIPTION 3"="When this setting is turned on, Outlook will always try to connect to the Global Address List on the server and use it before trying to resolve names using the cached version of it. "
  11. "DESCRIPTION 4"="If you are experiencing problems with the Global Address List and Outlook clients in cached mode, you should turn this setting on."
  12. "VERSION"="1.00"
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems"
  15. "CONTACTURL"="http://www.x-setup.net/"
  16. "COMMENT 1"="See Microsoft Knowledge Base Article - 831124"
  17.  
  18.  
  19. 'Declaration of some constants
  20. sPath="HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook"
  21. sV=sPath & "\Cached Mode\ANR Include Online GAL"
  22.  
  23.  
  24. 'Called when the Plugin is started
  25. SUB Plugin_Initialize
  26.  if RegPathExists(sPath) then
  27.     i=RegReadValue(sV)
  28.     if i=1 then
  29.        Call SetUIElement(1,true)
  30.     end if
  31.  else
  32.     Call Disable()
  33.  end if
  34.  
  35. END SUB
  36.  
  37. 'Called when the Plugin should validate the Data the user has entered
  38. SUB Plugin_CheckData(ElementIndex)
  39. END SUB
  40.  
  41. 'Called when the Plugin should apply the changes
  42. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  43.  if GetUIElement(1) then
  44.     Call RegWriteValue(sV,1,2)
  45.  else
  46.     if RegValueExists(sV) then Call RegDeleteValue(sV)
  47.  end if
  48. END SUB
  49.  
  50. 'Called when the Plugin is about to be removed from memory
  51. SUB Plugin_Terminate
  52. END SUB
  53.